package com.TeacherInfoServer.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("doctoral_supervisor")
public class DoctoralSupervisor implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("teacher_id")
    private String teacherId;
    @TableField("obtain_date")
    private String obtainDate;
    @TableField("obtain_school")
    private String obtainSchool;
    @Version
    @TableField("version")
    private Integer version;
    @TableField(exist = false)
    private Teacher teacher;
}
